LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 01-08-2008, 03:16 PM   #1
elvisious
Member
 
Registered: Sep 2003
Distribution: Debian 5.0
Posts: 45

Rep: Reputation: 15
Cool DHCP server : how to see the client table [online + offline]


Hello,

I'm running Fedora Core 4 with the DHCPd for my LAN clients.
On the server, How can I see the DHCP-clients that are online / offline?

Greetz
Dion
 
Old 01-08-2008, 06:09 PM   #2
jlinkels
LQ Guru
 
Registered: Oct 2003
Location: Bonaire, Leeuwarden
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,195

Rep: Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043
In my distro they are in /var/lib/dhcp/dhcpd.leases. In FC it might be somewhere else, but locate dhcpd.leases and you're done.

However until now I never found a way to see if clients with a fixed IP address issued by DCHP are there or not, only by pinging.

jlinkels
 
Old 01-09-2008, 08:36 AM   #3
elvisious
Member
 
Registered: Sep 2003
Distribution: Debian 5.0
Posts: 45

Original Poster
Rep: Reputation: 15
Hi,

cat /var/lib/dhcpd/dhcpd.leases

It worked. Thanks!

Greetz
Dion
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
DHCP server and DHCP client in same box Eicos Linux - Networking 3 03-03-2007 01:28 PM
DHCP server and client trebek Linux - Networking 3 07-25-2005 03:53 AM
dhcp client not getting IP from dhcp server jkmartha Linux - Networking 2 06-17-2005 08:12 AM
how can a DHCP client get the DHCP server IP? AshesOfTime Linux - Networking 3 11-24-2004 06:50 AM
XP Pro Build 2600/sp1 v.1105 DHCP Client to Redhat 8.0 DHCP Server - Problems atomant Linux - Networking 5 06-28-2003 11:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 12:24 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration